package com.yjx.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName carcharge
 */
@TableName(value ="carcharge")
@Data
public class Carcharge implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 付款日期
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date startDate;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date payDate;
    /**
     * 截止日期
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private String endDate;

    /**
     * 缴费金额
     */
    private Double money;

    /**
     * 缴费状态
     */
    private Integer status;

    /**
     * 户主Id
     */
    private Integer ownerId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 收费类型
     */
    private String type;

    /**
     * 车位Id
     */
    private Integer parkId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 户主
     */
    private Owner owner;
    /**
     * 车位全称
     */
    private Parking parking;
}